package chap2_task;
import java.util.Scanner;
public class Task1 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.print("输入两个数:");
        int a=input.nextInt();
        int b=input.nextInt();
        int c=a+b;
        System.out.println("两个数的和="+c);
        c=a-b;
        System.out.println("两个数的差="+c);
        c=a*b;
        System.out.println("两个数的积="+c);
        c=a/b;
        System.out.println("两个数的商="+c);
        c=a%b;
        System.out.println("两个数的取余="+c);
    }
}
